/*
.wysiwyg-font-size-smaller {
  font-size: smaller;
}

.wysiwyg-font-size-larger {
  font-size: larger;
}

.wysiwyg-font-size-xx-large {
  font-size: xx-large;
}

.wysiwyg-font-size-x-large {
  font-size: x-large;
}

.wysiwyg-font-size-large {
  font-size: large;
}

.wysiwyg-font-size-medium {
  font-size: medium;
}

.wysiwyg-font-size-small {
  font-size: small;
}

.wysiwyg-font-size-x-small {
  font-size: x-small;
}

.wysiwyg-font-size-xx-small {
  font-size: xx-small;
}

.wysiwyg-color-black {
  color: black;
}

.wysiwyg-color-silver {
  color: silver;
}

.wysiwyg-color-gray {
  color: gray;
}

.wysiwyg-color-white {
  color: white;
}

.wysiwyg-color-maroon {
  color: maroon;
}

.wysiwyg-color-red {
  color: red;
}

.wysiwyg-color-purple {
  color: purple;
}

.wysiwyg-color-fuchsia {
  color: fuchsia;
}

.wysiwyg-color-green {
  color: green;
}

.wysiwyg-color-lime {
  color: lime;
}

.wysiwyg-color-olive {
  color: olive;
}

.wysiwyg-color-yellow {
  color: yellow;
}

.wysiwyg-color-navy {
  color: navy;
}

.wysiwyg-color-blue {
  color: blue;
}

.wysiwyg-color-teal {
  color: teal;
}

.wysiwyg-color-aqua {
  color: aqua;
}

.wysiwyg-text-align-right {
  text-align: right;
}

.wysiwyg-text-align-center {
  text-align: center;
}

.wysiwyg-text-align-left {
  text-align: left;
}

.wysiwyg-text-align-justify {
  text-align: justify;
}

.wysiwyg-float-left {
  float: left;
  margin: 0 8px 8px 0;
}

.wysiwyg-float-right {
  float: right;
  margin: 0 0 8px 8px;
}

.wysiwyg-clear-right {
  clear: right;
}

.wysiwyg-clear-left {
  clear: left;
}
*/

#wysihtml-editor-toolbar {
  position: relative;
}

#wysihtml-editor-toolbar header {
  display: inline-block;
  border-radius: 4px;
  width: auto;
  max-width: 100%;
  background: #f6f6f6;
  position: relative;
  z-index: 1;
  text-align: center;
  border: 1px solid #ddd\9; /* IE 8 and below */
  background-image: linear-gradient(bottom, rgb(238,238,238) 0%, rgb(255,255,255) 100%);
  background-image: -o-linear-gradient(bottom, rgb(238,238,238) 0%, rgb(255,255,255) 100%);
  background-image: -moz-linear-gradient(bottom, rgb(238,238,238) 0%, rgb(255,255,255) 100%);
  background-image: -webkit-linear-gradient(bottom, rgb(238,238,238) 0%, rgb(255,255,255) 100%);
  background-image: -ms-linear-gradient(bottom, rgb(238,238,238) 0%, rgb(255,255,255) 100%);
  box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.3);
  font-size: 0;
  text-align: left;
}

.commands {
  border-left: 1px solid #ddd;
  display: inline-block;
  padding-left: 0;
}

[data-wysihtml-command],
[data-wysihtml-action],
.fore-color {
  position: relative;
  border-right: 1px solid #ddd;
  border-left: 1px solid #fff;
  list-style: none;
  font-size: 12px;
  display: inline-block;
  cursor: pointer;
  height: 26px;
  width: 40px;
}

[data-wysihtml-command]:after,
[data-wysihtml-action]:after,
.fore-color:after {
  content: "";
  background-image: url(../img/spr_toolbar_icons_r1.png);
  background-repeat: no-repeat;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

[data-wysihtml-command]:hover,
[data-wysihtml-action]:hover,
.fore-color:hover {
  background-image: linear-gradient(bottom, rgb(229,240,226) 0%, rgb(255,255,255) 100%);
  background-image: -o-linear-gradient(bottom, rgb(229,240,226) 0%, rgb(255,255,255) 100%);
  background-image: -moz-linear-gradient(bottom, rgb(229,240,226) 0%, rgb(255,255,255) 100%);
  background-image: -webkit-linear-gradient(bottom, rgb(229,240,226) 0%, rgb(255,255,255) 100%);
  background-image: -ms-linear-gradient(bottom, rgb(229,240,226) 0%, rgb(255,255,255) 100%);
}

[data-wysihtml-command="bold"]:after {
  background-position: 8px center;
}

[data-wysihtml-command="italic"]:after {
  background-position: -64px center;
}

[data-wysihtml-command="insertUnorderedList"]:after {
  background-position: -132px center;
}

[data-wysihtml-command="insertOrderedList"]:after {
  background-position: -214px center;
}

[data-wysihtml-command="formatBlock"][data-wysihtml-command-value="h1"]:after {
  background-position: -359px center;
}

[data-wysihtml-command="formatBlock"][data-wysihtml-command-value="h2"]:after {
  background-position: -444px center;
}

[data-wysihtml-command="createLink"]:after {
  background-position: -289px center;
}

[data-wysihtml-command="insertImage"]:after {
  background-position: -529px center;
}

.fore-color:after {
  background-position: -756px center;
}

[data-wysihtml-command="insertSpeech"]:after {
  background-position: -596px center;
}

[data-wysihtml-action="change_view"]:after {
  background-position: -684px center;
}

.fore-color > ul {
  display: none;
  position: absolute;
  z-index: 2;
  top: 26px;
  right: -1px;
  left: -2px;
  border: 1px solid #ccc;
  border-top: 0;
  background: #fff;
  overflow: hidden;
  padding-left: 0;
}

.fore-color > ul > li {
  display: block;
  margin: 3px;
  width: auto;
  border: 0;
  height: 15px;
}

.fore-color ul > li:after {
  display: none;
}

.fore-color:hover > ul {
  display: block;
}

.fore-color [data-wysihtml-command-value="silver"] {
  background: silver !important;
}


.fore-color [data-wysihtml-command-value="gray"] {
  background: gray !important;
}

.fore-color [data-wysihtml-command-value="maroon"] {
  background: maroon !important;
}

.fore-color [data-wysihtml-command-value="red"] {
  background: red !important;
}

.fore-color [data-wysihtml-command-value="purple"] {
  background: purple !important;
}

.fore-color [data-wysihtml-command-value="green"] {
  background: green !important;
}

.fore-color [data-wysihtml-command-value="olive"] {
  background: olive !important;
}

.fore-color [data-wysihtml-command-value="navy"] {
  background: navy !important;
}

.fore-color [data-wysihtml-command-value="blue"] {
  background: blue !important;
}

.fore-color .wysihtml-command-active {
  outline: 1px solid #666;
  outline-offset: 1px;
}

.wysihtml-commands-disabled .fore-color ul {
  display: none;
}

.wysihtml-action-active,
.wysihtml-command-active {
  box-shadow: inset 0 1px 6px rgba(0, 0, 0, 0.2);
  background: #eee !important;
}

.wysihtml-commands-disabled [data-wysihtml-command],
.wysihtml-commands-disabled .fore-color {
  opacity: 0.4;
  cursor: default;
  background-image: none !important;
}

[data-wysihtml-dialog] {
  color: #333;
  font-size: 14px;
  text-align: left;
  border-radius: 4px;
  -ms-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid #ccc;
  padding: 5px 10px;
  background: #FFFBE0;
  position: absolute;
  width: auto;
  text-align: center;
  top: 27px;
}

[data-wysihtml-dialog] input {
  color: #333;
  border: 1px solid #ccc;
  padding: 3px;
  width: 300px;
}

[data-wysihtml-dialog] input:focus {
  outline: 0;
  border: 1px solid #666;
}

[data-wysihtml-dialog-action] {
  padding: 4px;
  color: #fff;
  cursor: pointer;
}

[data-wysihtml-dialog-action="save"] {
  background: #007200;
}

[data-wysihtml-dialog-action="cancel"] {
  background: #999;
}

section.editor-wrapper > textarea {
  margin-top: 32px;
  width: 100%;
  background: transparent;
  height: 100%;
  border: 0;
  resize: none;
  white-space: pre;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  padding: 10px;
  word-wrap: normal;
  -ms-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

section.editor-wrapper > textarea:focus {
  box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.4);
  outline: 0;
}